﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameLib.Serialization;
using Sandbox.Serialization.Serializers;
using Sandbox.Serialization.StringSerializers;
using Sandbox.Serialization.XmlSerializers;

namespace Sandbox.Serialization
{
	public class GameDataHandler : DataHandler
	{
		public GameDataHandler()
		{
			// register serializers used in game
			RegisterSerializer(new ObjectSerializer());
			RegisterSerializer(new CommonValueSerializer());
			RegisterSerializer(new PlaySerializer());
			RegisterSerializer(new NameSerializer());
			RegisterSerializer(new ImageSerializer());
			RegisterSerializer(new MapSerializer());
			//RegisterSerializer(new MapTilesSerializer());
			RegisterSerializer(new TileLocSerializer());
		}
	}
}
